﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class UserControl_memberMenu : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Session["memberName"] != null)
        {
            pldMenu.Controls.Add(Page.LoadControl("~/UserControl/memberSessionMenu.ascx"));
        }
        else 
        {
            pldMenu.Controls.Add(Page.LoadControl("~/UserControl/popularMenu.ascx"));
        }
    }
}